<!--{$link_shakebox_index}here will be the same as the first apply, so should use different prefix if should use htmlid-->

<div class="news-summary" id="xnews-{$link_shakebox_index}"
	{if $link_shakebox_currentuser_reports gt 0}
	    style="opacity:0.3;filter:alpha(opacity = 30)"
	{/if}
>
	<div class="hunt_top">
		<div class="toptitle" id="ls_thetitle-{$link_shakebox_index}">	
			<span id="a-{$link_shakebox_index}" style='color:#774525;font-weight:700;'>寻人: {$title_short}</span>
		</div>
		
			{if $enable_tags eq 'true'}
				{if $tags ne ''}
					<span id="ls_tags-{$link_shakebox_index}"><b><a href="{$URL_tagcloud}" title="Tags" style='text-decoration: none;'>{#PLIGG_Visual_Tags_Link_Summary#}</a></b>: 
					{section name=thistag loop=$tag_array}
						<a href="{$tags_url_array[thistag]}" style='text-decoration: none;'>{$tag_array[thistag]}</a>
					{/section}
					</span> 
				{/if}
			{/if}		

			{if $isadmin eq "yes"}
				<span id="adminlinksbuttom"> | <a href="javascript://" onclick="var replydisplay=document.getElementById('ls_adminlinks-{$link_shakebox_index}').style.display ? '' : 'none';document.getElementById('ls_adminlinks-{$link_shakebox_index}').style.display = replydisplay;">{#PLIGG_Visual_Admin_Links#}</a></span>
			{/if}
			
			<span id="ls_adminlinks-{$link_shakebox_index}" style="display:none">
				{if $isadmin eq "yes"}
					<span id="ls_admin_links-{$link_shakebox_index}">
						<br /><a href="{$story_edit_url}">{#PLIGG_Visual_LS_Admin_Edit#}</a>
						<br /><a href="{$story_admin_url}">{#PLIGG_Visual_LS_Admin_Status#}</a>
				  		{checkActionsTpl location="tpl_link_summary_admin_links"}
					</span>
				{else}
					{if $user_logged_in eq $link_submitter}
						<span id="ls_user_edit_links-{$link_shakebox_index}"><br /><a href="{$story_edit_url}">{#PLIGG_Visual_LS_Admin_Edit#}</a></span>
					{/if}
				{/if}
			</span>

		<div>	
			<span id="ls_posted_by-{$link_shakebox_index}"></span>
				<a href="{$submitter_profile_url}" target="_blank">
			<span id="ls_link_submitter-{$link_shakebox_index}">{$link_submitter_names}</span></a>于{$link_submit_time}发布 &nbsp;&nbsp;&nbsp;&nbsp;
			有效期至:  {$deadline}&nbsp;&nbsp;&nbsp;&nbsp;{if $total_applies > 0}目前{$total_applies}人认领&nbsp;&nbsp;&nbsp;&nbsp;{/if}
			{if $user_logged_in eq $link_submitter}
				<!--<span style="display:" id="ls_user_edit_hunts-{$link_shakebox_index}"><img src="{$my_pligg_base}/templates/{$the_template}/images/user_edit.png" /><a href="javascript://" onclick="show_edithunt({$link_shakebox_index});">修改寻人信息</a>&nbsp;&nbsp;&nbsp;&nbsp;</span>-->
				<span style="display:" id="ls_user_edit_hunts-{$link_shakebox_index}"><img src="{$my_pligg_base}/templates/{$the_template}/images/user_edit.png" /><a href="javascript://" onclick="var urlstr = 'human_hunt.php?view=modify_hunt&update=true&linkid={$link_id}'; window.location.href=urlstr">修改寻人信息</a>&nbsp;&nbsp;&nbsp;&nbsp;</span>
			{/if}
			<span style="display:" id="ls_user_add_apply-{$link_shakebox_index}"><img src="{$my_pligg_base}/templates/{$the_template}/images/key.gif" /><a href="javascript://" onclick="add_apply({$link_shakebox_index},{$link_id},{$current_user_id},{$link_submitter_id});">我要认领</a>&nbsp;&nbsp;&nbsp;&nbsp;</span>
			<!--<span style="display:" id="ls_user_edit_links-{$link_shakebox_index}"><img src="{$my_pligg_base}/templates/{$the_template}/images/user_edit.png" /><a href="javascript://" onclick="show_editlink({$link_shakebox_index});">我要推荐</a>&nbsp;&nbsp;&nbsp;&nbsp;</span>-->
			
			<span style="display: none" id="ls_story_link-{$link_shakebox_index}">
				{if $url_short neq "http://" && $url_short neq "://"}
					(<a href="{$url}" {if $open_in_new_window eq true} target="_blank"{/if}>{$url_short}</a>)
				{else}
					({$No_URL_Name})
				{/if}
			</span>	
			
			<span id="userlinks-{$link_shakebox_index}" style="display:none;">
			<a href = "{$submitter_profile_url}">{#PLIGG_Visual_LS_View_Profile#}</a>  
				{if $FriendMD5 neq ""}
					| 
					{if $Allow_Friends eq 1}
						<a href ="{$user_add_remove}">{$Friend_Text} {#PLIGG_Visual_LS_My_Friends#}</a>
					{/if}
				{/if}
			</span>
			<br/>
		
			
		</div>	
  	
	  	{if (($viewtype neq "short") && ($show_content neq 'FALSE') && ($pagename neq 'story') && ($lastcomment_id > 0) && ($story_comment_count > 1))}
	  		<a href="{$lastcomment_userprofileurl}" target="_blank">
	  		<span id="ls_link_lastcomment-{$link_shakebox_index}"><!--<img src="{$lastcomment_useravatar}" alt="Avatar" />-->{$lastcomment_usernames}</span></a>于{$lastcomment_time}最新评论 &nbsp;&nbsp;&nbsp;&nbsp;<br>
	  		<span class="news-body-text">
		  		<span id="ls_comment_contents-{$link_shakebox_index}">
		  			<div style="padding:10px 5px; border-bottom:1px solid #ccc; font-size:14px; overflow:hidden; -o-text-overflow:ellipsis;">
					<a href="{$lastcomment_userprofileurl}" target="_blank" style="float:left; margin-left:0px; overflow:hidden;">
					<img src="{$lastcomment_useravatar_huge}" alt="Avatar" /></a>
					{$lastcomment_content}
					</div>
				</span>
			</span>
		{/if}
		
		{if (($viewtype neq "short") && ($show_content neq 'FALSE') && ($pagename neq 'story') && ($last_things_content!=''))}
			<br><span>{if $link_owner_url!=''}
				<a href="{$link_owner_url}&view=staff" style='text-decoration:none;'>最新提供的物:</a>
			{else}
				最新提供的物:
			{/if}</span>
	  		
	  		<span class="news-body-text">
		  		<span id="ls_thing_list-{$link_shakebox_index}">
		  			<div style="padding:10px 5px; border-bottom:1px solid #ccc; font-size:14px; overflow:hidden; -o-text-overflow:ellipsis;">
					{$last_things_content}
					</div>
				</span>
			</span>
		{/if}
	  	
	    <span class="news-details">
	    	<span id="ls_comments_url-{$link_shakebox_index}" style="display:none">
	    		{if $story_comment_count eq 0}
					
	    			<span id="linksummaryDiscuss"><a href="{$story_url}" class="comments">{#PLIGG_MiscWords_Discuss#}</a> &nbsp;</span>
	    		{/if}
	    		{if $story_comment_count eq 1}
	    			<span id="linksummaryHasComment"><a href="{$story_url}" class="comments2">{$story_comment_count} {#PLIGG_MiscWords_Comment#}</a> &nbsp;</span>
	    		{/if}
	    		{if $story_comment_count gt 1}
	    			<span id="linksummaryHasComment"><a href="{$story_url}" class="comments2">{$story_comment_count} {#PLIGG_MiscWords_Comments#}</a> &nbsp;</span>
	    		{/if}
	    	</span>  
	    	
			{if $Enable_AddTo eq 1}
				<span id="linksummaryAddLink">
					<a href="javascript://" onclick="var replydisplay=document.getElementById('addto-{$link_shakebox_index}').style.display ? '' : 'none';document.getElementById('addto-{$link_shakebox_index}').style.display = replydisplay;"> {#PLIGG_Visual_LS_AddThisLinkTo#}</a>&nbsp;
				</span>
			{/if}
				
			{if $link_shakebox_currentuser_votes eq 0 && $link_shakebox_currentuser_reports eq 0}
				<span style="display:none" id="xreport-{$link_shakebox_index}"><span id="linksummaryBury"><a href="javascript:{$link_shakebox_javascript_report}">{#PLIGG_Visual_Vote_Bury#}</a></span></span>
			{/if}
 		
			{if $Enable_AddTo eq 1}
				<span id="addto-{$link_shakebox_index}" style="display:none"><br />{#PLIGG_Visual_LS_AddTo#}
					&nbsp;&nbsp;<a title="submit '{$title_short}' to del.icio.us" href="http://del.icio.us/post" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url={$enc_url}&amp;title={$enc_title_short}', '{#PLIGG_Visual_LS_Delicious#}','toolbar=no,width=700,height=400'); return false;"><img src="{$my_base_url}{$my_pligg_base}/templates/{$the_template}/images/delicious.png" border="0" alt="submit '{$title_short}' to del.icio.us" /></a>
					&nbsp;&nbsp;<a title="submit '{$title_short}' to digg" href="http://digg.com/submit?phase=2&amp;url={$enc_url}&amp;title={$title_short}&amp;bodytext={$story_content}"><img src="{$my_base_url}{$my_pligg_base}/templates/{$the_template}/images/digg.png" border="0" alt="submit '{$title_short}' to digg" /></a>
					&nbsp;&nbsp;<a title="submit '{$title_short}' to reddit" href="http://reddit.com/submit?url={$enc_url}&amp;title={$title_short}"><img src="{$my_base_url}{$my_pligg_base}/templates/{$the_template}/images/reddit.gif" border="0" alt="submit '{$title_short}' to reddit" /></a>
					&nbsp;&nbsp;<a title="submit '{$title_short}' to Pligg" href="http://pligg.com/submit.php?url={$enc_url}&amp;title={$title_short}"><img src="{$my_base_url}{$my_pligg_base}/templates/{$the_template}/images/pligg.png" border="0" alt="submit '{$title_short}' to Pligg" /></a>
					&nbsp;&nbsp;<a title="submit '{$title_short}' to yahoo" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u={$enc_url}&amp;title={$title_short}"><img src="{$my_base_url}{$my_pligg_base}/templates/{$the_template}/images/yahoomyweb.png" border="0" alt="submit '{$title_short}' to yahoo" /></a>
					&nbsp;&nbsp;|&nbsp;&nbsp; <a href="javascript:bookmarksite('{$title_url}', '{$enc_url}')">{#PLIGG_Visual_LS_Fav_Book#}</a>&nbsp;&nbsp;
				</span>
			{/if}	

			<span class="news-body-text">
		  		<span id="ls_contents-{$link_shakebox_index}">
			  		<div style="padding:10px 5px; border-bottom:1px solid #ccc; font-size:14px; overflow:hidden; -o-text-overflow:ellipsis;">
						<a href="{$submitter_profile_url}" target="_blank" style="float:left; margin-left:0px; overflow:hidden;">
						<img src="{$Avatar_ImgSrc_Huge}" alt="Avatar" /></a>
						{$story_content}
					</div>
		  		</span>
		    </span>

		 
		    
			{checkActionsTpl location="tpl_link_summary_end"}
		</span>
	</div>	
	{if $user_logged_in eq $link_submitter}
		备注： {$private_info}
	{/if}
</div>
